from apps.a_common.constants import PermissionType
from apps.a_common.db import TimeMarkModel
from apps.foundation import db


class Permission(TimeMarkModel):
    name = db.Column(db.VARCHAR(126))
    type = db.Column(db.SmallInteger, default=PermissionType.OTHERS)
